<!-- <!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		body a{text-decoration: none}
		body a:hover{color:red;}
	</style>
</head>
<body>
	<h3>注册成功！请<a href="{:U('Login/login')}">登录</a></h3>
</body>
</html> -->
<!doctype html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>四人定制网上商城</title>
        <script src="__PUBLIC__/js/jquery-1.8.1.js"></script>      
        <link href="__PUBLIC__/css/public.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/newindex.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/feedback.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/css/shoploginbox.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/side_toolbar.css" rel="stylesheet" type="text/css">
        <link href="__PUBLIC__/css/topbar.css" rel="stylesheet" type="text/css">
          
    </head>

    <body>
    
  <div class="zc-topbar">
        <div class="wrapper clearfix">
            <div class="zc-login-info">
                <span class="zc-back-home"><a href="{:U('index')}">商城首页</a></span>
                <if condition="$_SESSION['login'] eq null">         
                   <span class="zc-login">Hi~欢迎来到四人定制商城，请<a href="{:U('Login/login')}">登录</a></span>
                    <span class="zc-register"><a href="{:U('Register/register')}">免费注册</a></span>
                <else />
                    <span class="zc-login">Hi~欢迎来到四人定制商城，<a href="{:U('User/index')}">{$_SESSION['login']['username']}</a></span>
                    <span class="zc-register"><a href="{:U('Login/loginout')}">退出</a></span>
                    
                </if>
            </div>
            <ul class="zc-quick-menu">
                <li><a href="">我的订单</a></li>
                <li class="zc-my-center" onmouseover="showUI(this)" onmouseout="hideUI(this)">
    
                    <a href="" class="zc-hd" >买家中心<i class="ico"></i></a>
                    <div class="zc-my-center-bd" id="zc-my-center-bd" style="display:none;">
                        <a href="">关注的店铺&nbsp;&nbsp;<em id="focusShopNum">0</em></a>
                        <a href="">关注的商品&nbsp;&nbsp;<em id="focusGoodsNum">0</em></a>
                    </div>
                </li>
                <li><a href="" id="shop-cart-num">购物车0件</a></li>
                    <li><a href="">帮助中心</a></li>
                    <li><a href="">商家入驻</a></li>
                    <li class="lianxikefu"><a href="javascript:;"  onmouseover="showUI(this)" onmouseout="hideUI(this)" class="zc-hd">联系客服<i class="ico"></i></a>
                        <div class="zc-service-tel">400-678-0068</div>
                    </li>
                    
                </li>
            </ul>
        </div>
    </div> 
    <script>    
    var Z_now_time = "1446556752";
    var z_user_id = "";
    function showUI(obj) {
    var className = obj.className;
    if (className == "zc-my-center") {
    obj.className = "zc-my-center zc-hover";
    document.getElementById("zc-my-center-bd").style.display = "block";
    } else if (className == "zc-mobile") {
    obj.className = "zc-mobile zc-hover";
    document.getElementById("zc-mobile-bd").style.display = "block";
    } else {
    obj.parentNode.className = "lianxikefu zc-hover";
    obj.nextSibling.style.display = "block";
    }
    }
    function hideUI(obj) {
    var className = obj.className;
    if (className == "zc-my-center zc-hover") { 
    obj.className = "zc-my-center"; 
    document.getElementById("zc-my-center-bd").style.display = "none"; 
    } else if (className == "zc-mobile zc-hover") { 
    obj.className = "zc-mobile"; 
    document.getElementById("zc-mobile-bd").style.display = "none"; 
    } else {
    obj.parentNode.className = "lianxikefu";
    obj.nextSibling.style.display = "none";
    }    }
    
    </script>
    <div id="coment">
    	<div id="nav">
            <div class="img">
                
                <p><img src="__PUBLIC__/Picture/1-140114143411.jpg" alt="恭喜您！注册成功啦！"></p>
                <foreach name="user" item="val">
                <p>您的用户名是：<b>{$val.name}</b>您已正式成为本站会员啦！</p><br>
                </foreach>
                <a href="{:U('Index/index')}">返回本站首页</a>|<a href="{:U('Login/login')}">去登录吧</a>

            </div>
            
            
        </div>
    </div>
    <include file="Public/footer"/>
    <style>
        body{background-color: #f7f7f7}
        #coment{width:auto;height:400px;background-color: #f7f7f7}
        #nav{width:500px;height:150px;margin:auto;margin-top: 100px;font-size: 20px}
        .img{width:500px;height:50px;text-align: center;}
        .img b{color:pink;}
    </style>